<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title></title>
</head>
<body>

    <h1>用户登录</h1>
    <hr>
    <form method="post" action="../api/reg_login_enter.php">

        <div>
            <label>
                账号：<input type="text" name="username">
            </label>
        </div>

        <div>
            <label>
                密码：<input type="password" name="password">
            </label>
        </div>

        <div>
            <label>验证码：<input type="text" name="vcode"></label>
            <img title="点击刷新" src="vcode/captcha.php" align="absbottom" onclick="this.src='vcode/captcha.php?'+Math.random();">
        </div>

        <hr>

        <div>
            <input type="submit" value="登录">
            <input type="reset" value="清空">
            <input id="backBtn" type="button" value="返回">
            <!-- <button type="button">button</button> -->
        </div>

    </form>

    <script src="../lib/jquery-1.12.1.min.js"></script>
    <script>
        $('#backBtn').on('click', function() {
            location.href="commIndex.html";
        });
    </script>

</body>
</html>